﻿<%@ Page Title="Manage Stock Transfer" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="str.aspx.vb" Inherits="manage_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <h2>Stock Transfer List</h2>
    <div>
       
            <asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>
            <asp:TextBox ID="txtFind" runat="server" CssClass="textbox" TextMode="Search" Width="355px"></asp:TextBox>
            <asp:Button ID="Button2" runat="server" Text="Search" CssClass="button" />
        
</div>

          
    

        <asp:SqlDataSource ID="SQLSearch" runat="server" ConnectionString="<%$ ConnectionStrings:Management_Info_SysConnectionString %>" SelectCommand="sp_FindStringInTable" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:SessionParameter Name="stringToFind" SessionField="findstring" Type="String" />
                <asp:SessionParameter DefaultValue="%" Name="author" SessionField="IdentityName" Type="String" />
                <asp:Parameter DefaultValue="100" Name="limit" Type="String" />
                <asp:Parameter DefaultValue="str_key,str_no,company,transfer_from,transfer_to,prepared_by,approved_by,recieved_by" Name="tableslist" Type="String" />
                <asp:Parameter DefaultValue="dbo" Name="schema" Type="String" />
                <asp:Parameter DefaultValue="str_parents" Name="table" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
    <br />
    
          <asp:Label ID="lblResultCount" runat="server" Font-Bold="True" Font-Italic="True"></asp:Label>
    
    <br />
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SQLSearch" Width="100%">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>
       <h3> Items </h3>
    <p>
        <br />
        <br />
    </p>
    <p>
        &nbsp;</p>
</asp:Content>

